package com.market.service.impl;

import com.market.entity.TransactionDetail;
import com.market.mapper.TransactionDetailMapper;
import com.market.service.TransactionDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TransactionDetailServiceImpl implements TransactionDetailService {
    @Resource
    TransactionDetailMapper transactionDetailMapper;

    /**
     * 终端销售交易明细
     * @return
     */
    @Override
    public List<TransactionDetail> dealDetail() {
        List<TransactionDetail> transactionDetails = transactionDetailMapper.dealDetail();
        return transactionDetails;
    }
}
